projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efbb649
)
menubutton: Correct the css docs
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 23 Dec 2020 13:45:51 +0000
(08:45 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 23 Dec 2020 13:56:18 +0000
(08:56 -0500)
We are using menubutton instead of button.popup now.
gtk/gtkmenubutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenubutton.c
b/gtk/gtkmenubutton.c
index d37ee47fc1c389e36f13163f7d07a8e6633c2034..29a320aff3ca48428f30844a9874046651e5aac3 100644
(file)
--- a/
gtk/gtkmenubutton.c
+++ b/
gtk/gtkmenubutton.c
@@
-104,8
+104,14
@@
*
* # CSS nodes
*
- * GtkMenuButton has a single CSS node with name button. To differentiate
- * it from a plain #GtkButton, it gets the .popup style class.
+ * |[<!-- language="plain" -->
+ * menubutton
+ * ╰── button.toggle
+ * ╰── [content]
+ *]|
+ *
+ * GtkMenuButton has a single CSS node with name menubutton
+ * which contains a toggle button node.
*
* # Accessibility
*